@import '../../styles/variables.scss';

.login-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #EEF3FF 0%, #FFFFFF 100%);
  display: flex;
  flex-direction: column;

  .login-header {
    padding: 20px 40px;
    
    .logo-section {
      display: flex;
      align-items: center;
      gap: 10px;

      .logo {
        height: 32px;
      }

      .company-name {
        font-size: 20px;
        font-weight: bold;
        color: #1677ff;
      }

      .slogan {
        font-size: 14px;
        color: #666;
        margin-left: 20px;
      }
    }
  }

  .login-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 100px;

    .login-left {
      max-width: 600px;

      .main-title {
        font-size: 36px;
        color: #1677ff;
        margin-bottom: 20px;
      }

      .sub-title {
        font-size: 16px;
        color: #666;
        margin-bottom: 40px;
      }

      .features {
        .feature-item {
          margin-bottom: 20px;
          
          .feature-text {
            font-size: 14px;
            color: #666;
          }
        }

        .feature-illustration {
          width: 600px;
          height: 300px;
          background-image: url('/images/login-illustration.png');
          background-size: contain;
          background-repeat: no-repeat;
          margin: 20px 0;
        }

        .bottom-text {
          font-size: 14px;
          color: #666;
          text-align: center;
        }
      }
    }

    .login-form {
      background: #fff;
      padding: 40px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      width: 400px;

      .form-title {
        font-size: 24px;
        color: #333;
        text-align: center;
        margin-bottom: 30px;
      }

      .login-input {
        margin-bottom: 20px;
      }

      .password-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;

        .forgot-password {
          color: #1677ff;
          text-decoration: none;
          
          &:hover {
            text-decoration: underline;
          }
        }
      }

      .login-button {
        height: 40px;
        font-size: 16px;
        margin-bottom: 20px;
      }

      .download-section {
        text-align: center;

        .download-button {
          width: 100%;
          margin-bottom: 15px;
        }

        .wechat-service {
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          color: #1677ff;
          cursor: pointer;

          .anticon {
            font-size: 20px;
          }
        }
      }
    }
  }

  .login-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 12px;
  }
} 